<template>
  <el-card class="x-footer">现在是: {{ now }}</el-card>
</template>

<script setup>
import { ref } from "vue";
import dayjs from "dayjs";
const now = ref(dayjs().format("YYYY-MM-DD HH:mm:ss"));
</script>

<style scoped>
.x-footer {
  display: flex;
  width: 100%;
  justify-content: center;
}
</style>
